package com.zc.study.java开发实战1200例.第十章_网络应用基础.网络地址解析_10_1.多线程下载资源;

public class Test {
    public static void main(String[] args) {
        //图片实例,下载其他的有待考量
        String address = "http://img2.imgtn.bdimg.com/it/u=3718105780,1106383832&fm=27&gp=0.jpg";
        try {
            DownLoad.download(address,"c:\\01",2);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
